import sys
import threading
import time
import comm.serial_util


class serial_thread (threading.Thread):
    def __init__(self, ui):
        threading.Thread.__init__(self)
        self.ui = ui
        

    def run(self):
        while True:
            # print(self.ui.open_ser_flag)
            
            time.sleep(0.1)

